package LinkedList;

import LinkedList.Linkedlist;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: adol book
 * Date: 2022-05-02
 * Time: 7:28
 */
public class Exme {
    public static void main(String[] args) {
        Linkedlist linkedlist = new Linkedlist();
        linkedlist.craeatived();
        linkedlist.display();
        linkedlist.addFirst(123);
        linkedlist.addFirst(234);
        linkedlist.addFirst(4567);
        linkedlist.display();
        linkedlist.addLast(234);
        linkedlist.addLast(256);
        linkedlist.display();
        linkedlist.addIndex(2,256);
        linkedlist.display();
        linkedlist.remove(123);
        linkedlist.display();
    }
}
